package com.mf.service;

import com.mf.entity.po.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mf.entity.vo.ListKeyValue;

import java.util.List;

/**
 * 数据字典 服务类
 *
 * @author mf
 * @since 2024-07-05
 */
public interface IDictionaryService extends IService<Dictionary> {

    void add(Dictionary dictionary);

    List<ListKeyValue<Dictionary>>  findByCode(String code);

    Integer changeStatus( Integer id,Integer status);

    Boolean delete(List<Integer> ids);

}
